package com.wtb.rr.domain;

import com.wtb.domain.User;
import com.wtb.utils.DateUtils;


public class RrOauth implements Cloneable{
	protected String access_token;
	protected String refresh_token;
	protected long expires_in;
	protected String uni;
	protected String createTime;
	protected String ref;
	protected User user;
	protected String message;
	protected String lastTime;
	protected String imageUrl;
	protected String r2q;
	protected String r2s;
	
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public String getLastTime() {
		return lastTime;
	}
	public void setLastTime(String lastTime) {
		this.lastTime = lastTime;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public RrOauth(String access_token, String refresh_token,
			long expires_in, String uni, String createTime, String ref) {
		super();
		this.access_token = access_token;
		this.refresh_token = refresh_token;
		this.expires_in = expires_in;
		this.uni = uni;
		this.createTime = createTime;
		this.ref = ref;
	}
	public RrOauth(String access_token, String refresh_token,
			long expires_in, String uni, String ref) {
		super();
		this.access_token = access_token;
		this.refresh_token = refresh_token;
		this.expires_in = expires_in;
		this.uni = uni;
		this.createTime = DateUtils.createTime();
		this.ref = ref;
	}
	public RrOauth() {
	}

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public String getRefresh_token() {
		return refresh_token;
	}

	public void setRefresh_token(String refresh_token) {
		this.refresh_token = refresh_token;
	}

	public long getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(long expires_in) {
		this.expires_in = expires_in;
	}

	public String getUni() {
		return uni;
	}

	public void setUni(String uni) {
		this.uni = uni;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getRef() {
		return ref;
	}

	public void setRef(String ref) {
		this.ref = ref;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	public String getR2q() {
		return r2q;
	}
	public void setR2q(String r2q) {
		this.r2q = r2q;
	}
	
	public String getR2s() {
		return r2s;
	}
	public void setR2s(String r2s) {
		this.r2s = r2s;
	}
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}

}
